package base.sort;

public class RunningDemo {

    static int[] array = {49, 38, 65, 97, 76, 13, 27, 31, 49, 78, 34, 12, 21, 64, 46, 1};
    static int[] list = {5,6,2,3,8,9};
    static IArraySort sort;

    public static void main(String[] args) {
        sort = new QuickSort();
        try {
            int[]result = sort.sort(list);

            for (int item : result){
                System.out.println(item);
            }

        } catch (Exception e) {
            e.printStackTrace();
        }

    }

}
